<div id="contentbgc" style="height:auto;min-height:500px;">
	<h3 style="margin-left:150px;margin-top:15px;">Product > <?php echo $category->name?></h3>
	<ul style="margin-left:140px;margin-top:10px;width:580px;">
<?php if(!empty($galleries)):?>	 
	<?php foreach($galleries as $gallery):?>
	 <li>
        <div class="imf"><a href="<?php echo site_url('product/'. $gallery->id);?>" target="_blank"><img src="<?php echo gallery_url($gallery->path, 'small')?>"/></a></div>
        <p><a href="<?php echo site_url('product/'. $gallery->id);?>" target="_blank"><?php echo $gallery->title;?></a></p>
      </li>
      <?php endforeach;?>
<?php else:?>   
   	<li>&nbsp;</li>
   	<li> 暫時沒有商品</li>
<?php endif?>      
    </ul>
  </div>
  <?php $this->load->view('partials/pagination'); ?>
  
